<?php

$Article = getRowByFields($_SQL_TABLE['article'], array("linkname = '".$pct->getParam('task')."'", "active = 'y'"));
$Article['title'] = $Article['title'.__FLANG];
$Article['body'] = $Article['body'.__FLANG];
$tpl->assign("Article", $Article);

if(isBlank($Article['title']))
{  pageNotFound();
}

$tpl->assign("MetaKeywords", $Article['meta_keywords'.__FLANG]);
$tpl->assign("MetaDescription", $Article['meta_description'.__FLANG]);
$tpl->assign("MetaTitle", $Article['meta_title'.__FLANG]);

$tpl->assign("PageTitle", $Article['title'.__FLANG]);

$_BODY_SMARTY_TEMPLATE = $CONFIG['ModulesFolder']."module.article.tpl";

?>